digraph G {

subgraph cluster_1 {
  label = "Annotation";

  subgraph C1 {
  rank = same;
  //rankdir="LR";
  edge [style="invis"];
 
  W1 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr><td colspan="2" bgcolor="black"><font color="white">Этот</font></td></tr>
    <tr><td colspan="2" align="left">этот, ADJF, Apro</td></tr>
    <tr><td></td><td align="left">sing, masc, nomn</td></tr>
    <tr><td></td><td align="left">sing, masc, accs, inan</td></tr>
  </table>>];

  W2 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr><td colspan="2" bgcolor="black"><font color="white">настрой</font></td></tr>
    <tr><td colspan="2" align="left">настрой, NOUN, inan, masc</td></tr>
    <tr><td></td><td align="left">sing, nonm</td></tr>
    <tr><td></td><td align="left">sing, accs</td></tr>
    <tr><td colspan="2" align="left">настроить, VERB, perf, tran</td></tr>
    <tr><td></td><td align="left">impr, excl, sing</td></tr>
  </table>>];

  W3 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr><td colspan="2" bgcolor="black"><font color="white">распространился</font></td></tr>
    <tr><td colspan="2" align="left">распространиться, VERB, perf, intr</td></tr>
    <tr><td></td><td align="left">indc, past, sing, masc</td></tr>
  </table>>];

  W1 -> W2 -> W3;
  }

  color = gray;
}

//subgraph cluster_4 {
//rankdir="TB";

subgraph cluster_2 {
 label = "nomn/accs pool";

 subgraph C2 {
 rank=same;
 //edge [style="invis"];

 T1 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr><td bgcolor="black"><font color="white">№</font></td>
    <td></td>
    <td>Variant A</td><td>Variant B</td></tr>
    <tr><td bgcolor="black"><font color="white">1</font></td>
    <td>ЭТОТ настрой распространился ...</td>
    <td>nomn</td><td>accs</td></tr>
    <tr><td bgcolor="black"><font color="white">2</font></td>
    <td>... это уже не ПЕРВЫЙ «ребрендинг».</td>
    <td>nomn</td><td>accs</td></tr>
    <tr><td bgcolor="black"><font color="white">3</font></td>
    <td>......</td>
    <td>nomn</td><td>accs</td></tr>
  </table>>];  
 
  M1 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr>
    <td>№1</td><td>№2</td><td>№3</td></tr>
    <tr><td>nomn</td><td>nomn</td><td>nomn</td></tr>
    <tr><td bgcolor="pink">accs</td><td bgcolor="pink">nomn</td><td bgcolor="pink">accs</td></tr>
    <tr><td>...</td><td>...</td><td>...</td></tr>
  </table>>];  

  D1 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr><td>FINAL</td></tr>
    <tr><td>nomn</td></tr>
    <tr><td>accs</td></tr>
    <tr><td>...</td></tr>
  </table>>]; 

  T1 -> M1 -> D1; 
  }
 
  color = gray;
} 


subgraph cluster_3 {

  label = "VERB/NOUN pool";

  subgraph C3 {
  rank=same;
  //edge [style="invis"];

  T2 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr><td bgcolor="black"><font color="white">№</font></td>
    <td></td>
    <td>Variant A</td><td>Variant B</td></tr>
    <tr><td bgcolor="black"><font color="white">1</font></td>
    <td>Этот НАСТРОЙ распространился ...</td>
    <td>VERB</td><td>NOUN</td></tr>
    <tr><td bgcolor="black"><font color="white">2</font></td>
    <td>... снова СТАЛИ появляться народные любимцы.</td>
    <td>VERB</td><td>NOUN</td></tr>
    <tr><td bgcolor="black"><font color="white">3</font></td>
    <td>......</td>
    <td>VERB</td><td>NOUN</td></tr>
  </table>>];  

  M2 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr>
    <td>№1</td><td>№2</td><td>№3</td></tr>
    <tr><td>NOUN</td><td>NOUN</td><td>NOUN</td></tr>
    <tr><td>VERB</td><td>VERB</td><td>VERB</td></tr>
    <tr><td>...</td><td>...</td><td>...</td></tr>
  </table>>];  

  D2 [shape=none, label=<
  <table border="0" cellborder="1" cellspacing="0">
    <tr><td>FINAL</td></tr>
    <tr><td>NOUN</td></tr>
    <tr><td>VERB</td></tr>
    <tr><td>...</td></tr>
  </table>>];  

  T2 -> M2 -> D2;
  }

  color = gray;
}
//}

W1 -> T1; // [weight=0.9];
W2 -> T2;

D1 -> W1 [weight=0];
D2 -> W2 [weight=0];

subgraph {
  edge [style="invis"];
  M1 -> T2;
}

/*subgraph {
  edge [style="invis"];*/
/*  T1 -> T2
  T1 -> M1
  T2 -> M2
  M1 -> D1
  M2 -> D2*/
//}

/*subgraph {*/
/*  W1 -> T1
  W2 -> T2

  D1 -> W1
  D2 -> W2*/
//}

} 
